<template>
  <div>
    <h2>用户资金管理</h2>
    <el-table :data="userData" border style="width: 100%">
      <el-table-column prop="username" label="用户名"></el-table-column>
      <el-table-column prop="recharge" label="充值情况"></el-table-column>
      <el-table-column prop="usage" label="使用情况"></el-table-column>
      <el-table-column prop="balance" label="余额"></el-table-column>
    </el-table>
  </div>
</template>

<script setup>
import { ref } from "vue";
import { ElTable, ElTableColumn } from "element-plus";

const userData = ref([
  { username: "User1", recharge: "$1000", usage: "$500", balance: "$500" },
  { username: "User2", recharge: "$2000", usage: "$1500", balance: "$500" },
  { username: "User3", recharge: "$500", usage: "$300", balance: "$200" },
  // Add more user data as needed
]);
</script>

<style lang="css" scoped>
/* Add your component-specific styles here */
</style>
